package com.biubiu.biubiuexam.nosql.model;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * The type Exam paper.
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Document("exam_paper")
public class ExamPaper {

    @Id
    private String id;

    private String title;

    private Long authorId;

    private String description;

    private List<String> examQuestionLinks;

    private String link;
}
